/**
 * 
 */
package net.empego.testwebapp;

import javax.enterprise.inject.Produces;
import javax.enterprise.inject.Typed;
import javax.enterprise.inject.spi.InjectionPoint;

import net.empego.zkcdi.util.ZkCdiUtils;

import org.zkoss.codemirror.Codemirror;

/**
 * @author Thomas
 * 
 */
public class ComponentProducers {

	/**
	 * Produce Codemirror.
	 * 
	 * @param injectionPoint
	 *          the injection point
	 * @return the Codemirror
	 */
	@Produces
	@Typed(Codemirror.class)
	public Codemirror produceCodemirror(final InjectionPoint injectionPoint) {
		return (Codemirror) ZkCdiUtils.produceComponent(injectionPoint);
	}

	// @Produces
	// @DesktopScoped
	// @Named("actionConfig")
	// private ActionConfigurationDO actionConfiguration;

}
